home *** CD-ROM | disk | FTP | other *** search
- on(press){
- if("0" >= shot1y)
- {
- setProperty("shot", _X, getProperty("/1", _X));
- setProperty("shot", _Y, getProperty("/1", _Y));
- shot1y = getProperty("shot", _Y) - "10";
- shot1x = getProperty("shot", _X);
- dep += "1";
- duplicateMovieClip("shot","shot" add dep,dep + 16384);
- if(dep >= "2")
- {
- dep = "1";
- }
- tellTarget("/sndsht")
- {
- gotoAndPlay(2);
- }
- }
- }
-